Skip to content

Add cert-manager support#196

Draft
Jakob-Naucke wants to merge 6 commits intotrusted-execution-clusters:mainfrom
Jakob-Naucke:kbs-cert
Draft

Add cert-manager support#196
Jakob-Naucke wants to merge 6 commits intotrusted-execution-clusters:mainfrom
Jakob-Naucke:kbs-cert

Conversation

@Jakob-Naucke
Copy link
Contributor

cc @alicefr. Haven't written docs yet but you can get an idea of where it's going by looking at api/trusted-cluster-gen.go, test_utils::set_certificates.

Doesn't include verification for attestation key register. I used the same method as for register server, but I was under the impression the root certificate added in Ignition, which works for the merge from register server, isn't loaded at that time?

HTTP request failed: Put "https://attestation-key-register.test-bc1e06e7.svc.cluster.local:8001/register-ak": tls: failed to verify certificate: x509: certificate signed by unknown authority

Didn't bother too much because that flow is subject to updates.

Fixes: #2
(at which I took first looks when it was new, hence the longest commit timespan in a PR from me to date)

Warp is outsourcing multiple features with its move to Hyper v1 that
we used or were soon going to use:

- Client info like IP
- Native TLS support

These features are more broadly integrated in Axum, which kube-rs also
recently moved to.

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Assisted-by: Claude
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Assisted-by: Claude
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
In the trustedexecutioncluster CRD, add optional secret name for a
cert-manager shaped certificate. In testing, use cert-manager to
create a certificate.

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Assisted-by: Claude
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
@openshift-ci
Copy link

openshift-ci bot commented Feb 13, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link

openshift-ci bot commented Feb 13, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Jakob-Naucke

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create kbs certificates and private key

1 participant

Comments